
sidebars: list = [
    {
        "label": "用户管理",
        "path": '/page/roles',
        "component": 'views/roles/index',
        "icon": 'icon-caidan',
        "mark": "index002",
        "allow": False,
        "children": [
            {
                "label": "角色编辑",
                "path": 'page/roles/edit',
                "component": 'views/roles/edit',
                "icon": 'icon-caidan',
                "mark": "index002001",
                "allow": False,
            },
            {
                "label": "用户列表",
                "path": 'page/roles/lists',
                "component": 'views/roles/lists',
                "icon": 'icon-caidan',
                "mark": "index002003",
                "allow": False,
            }
        ]
    },
    {
        "label": "设备管理",
        "path": '/page/facility',
        "component": 'views/facility/index',
        "icon": 'icon-caidan',
        "mark": "index003",
        "allow": False,
        "children": [
            {
                "label": "设备中心",
                "path": 'page/facility/facility',
                "component": 'views/facility/facility',
                "icon": 'icon-caidan',
                "mark": "index003002",
                "allow": False
            },
            {
                "label": "报警记录",
                "path": 'page/facility/andon',
                "component": 'views/facility/andon',
                "icon": 'icon-caidan',
                "mark": "index003003",
                "allow": False
            },
            # {
            #     "label": "报警统计",
            #     "path": 'page/facility/andon2',
            #     "component": 'views/facility/andon2tos',
            #     "icon": 'icon-caidan',
            #     "mark": "index003008",
            #     "allow": False
            # },
            {
                "label": "待机记录",
                "path": 'page/facility/awaits',
                "component": 'views/facility/awaits',
                "icon": 'icon-caidan',
                "mark": "index003005",
                "allow": False
            },
            {
                "label": "待机统计",
                "path": 'page/facility/await2oji',
                "component": 'views/facility/await2oji',
                "icon": 'icon-caidan',
                "mark": "index003007",
                "allow": False
            },

            {
                # 新增
                "label": "状态记录",
                "path": 'page/facility/status',
                "component": 'views/facility/status',
                "icon": 'icon-caidan',
                "mark": "index003010",
                "allow": False
            },
            {
                # 新增
                "label": "状态统计",
                "path": 'page/facility/status2oji',
                "component": 'views/facility/status2oji',
                "icon": 'icon-caidan',
                "mark": "index003011",
                "allow": False
            },

            {
                "label": "易损件管理",
                "path": 'page/facility/upkeep',
                "component": 'views/facility/upkeep',
                "icon": 'icon-caidan',
                "mark": "index003004",
                "allow": False,
            }
        ]
    },
    {
        "label": "产线参数",
        "path": '/page/product',
        "component": 'views/product/index',
        "icon": 'icon-caidan',
        "mark": "index004",
        "allow": False,
        "children": [
            {
                "label": "工艺路线",
                "path": 'page/product/flow',
                "component": 'views/product/flow',
                "icon": 'icon-caidan',
                "mark": "index004002",
                "allow": False,
            },
            {
                "label": "工艺参数",
                "path": 'page/product/craft',
                "component": 'views/product/craft',
                "icon": 'icon-caidan',
                "mark": "index004001",
                "allow": False,
            },
            {
                "label": "返工模板",
                "path": 'page/product/template',
                "component": 'views/product/template',
                "icon": 'icon-caidan',
                "mark": "index004003",
                "allow": False,
            },
        ]
    },
    {
        "label": "生产管理",
        "path": '/page/product2',
        "component": 'views/product/index',
        "icon": 'icon-caidan',
        "mark": "index011",
        "allow": False,
        "children": [
            {
                "label": "排班管理",
                "path": 'page/product/owner',
                "component": 'views/product/owner',
                "icon": 'icon-caidan',
                "mark": "index011001",
                "allow": False,
            },
            {
                "label": "信息录入",
                "path": 'page/product/entering',
                "component": 'views/product/entering',
                "icon": 'icon-caidan',
                "mark": "index011004",
                "allow": False,
            },
            {
                "label": "工单管理",
                "path": 'page/product/tasks',
                "component": 'views/product/tasks',
                "icon": 'icon-caidan',
                "mark": "index011002",
                "allow": False,
            },
            {
                "label": "返工任务",
                "path": 'page/product/repair',
                "component": 'views/product/repair',
                "icon": 'icon-caidan',
                "mark": "index011003",
                "allow": False,
            }
        ]
    },
    {
        "label": "数据追溯",
        "path": '/page/retrospect',
        "component": 'views/retrospect/index',
        "icon": 'icon-caidan',
        "mark": "index005",
        "allow": False,
        "children": [
            {
                "label": "工站追溯",
                "path": 'page/retrospect/data2',
                "component": 'views/retrospect/data2',
                "icon": 'icon-caidan',
                "mark": "index005004",
                "allow": False,
            },
            {
                "label": "条件查询",
                "path": 'page/retrospect/data',
                "component": 'views/retrospect/data',
                "icon": 'icon-caidan',
                "mark": "index005001",
                "allow": False,
            },
            {
                "label": "条码追溯",
                "path": 'page/retrospect/miansn',
                "component": 'views/retrospect/miansn',
                "icon": 'icon-caidan',
                "mark": "index005005",
                "allow": False,
            },
            {
                "label": "物料追溯",
                "path": 'page/retrospect/serials',
                "component": 'views/retrospect/serials',
                "icon": 'icon-caidan',
                "mark": "index005003",
                "allow": False,
            },
            {
                "label": "品质统计",
                "path": 'page/retrospect/quality',
                "component": 'views/retrospect/quality',
                "icon": 'icon-caidan',
                "mark": "index005002",
                "allow": False,
            }
        ]
    },
    {
        "label": "产量统计",
        "path": '/page/statistics',
        "component": 'views/statistics/index',
        "icon": 'icon-caidan',
        "mark": "index006",
        "allow": False,
        "children": [
            {
                "label": "机种产量统计",
                "path": 'page/statistics/kind',
                "component": 'views/statistics/kind',
                "icon": 'icon-caidan',
                "mark": "index006001",
                "allow": False,
            },
            {
                "label": "工站产量统计",
                "path": 'page/statistics/station',
                "component": 'views/statistics/station',
                "icon": 'icon-caidan',
                "mark": "index006002",
                "allow": False,
            },
            {
                "label": "工站次品统计",
                "path": 'page/statistics/station2',
                "component": 'views/statistics/station2',
                "icon": 'icon-caidan',
                "mark": "index006003",
                "allow": False,
            },
            {
                # 新增
                "label": "小时产能统计",
                "path": 'page/statistics/byhour',
                "component": 'views/statistics/byhour',
                "icon": 'icon-caidan',
                "mark": "index006004",
                "allow": False,
            }
        ]
    },
    {
        "label": "产品报表",
        "path": '/page/first',
        "component": 'views/first/index',
        "icon": 'icon-caidan',
        "mark": "index008",
        "allow": False,
        "children": [
            {
                "label": "首件报表",
                "path": 'page/first/work',
                "component": 'views/first/work',
                "icon": 'icon-caidan',
                "mark": "index008001",
                "allow": False,
            },
            {
                "label": "样件报表",
                "path": 'page/first/exemplar',
                "component": 'views/first/exemplar',
                "icon": 'icon-caidan',
                "mark": "index008002",
                "allow": False,
            }
        ]
    },
    {
        "label": "报表设置",
        "path": '/page/report',
        "component": 'views/report/index',
        "icon": 'icon-caidan',
        "mark": "index010",
        "allow": False,
        "children": [
            {
                "label": "报表参数配置",
                "path": 'page/report/view',
                "component": 'views/report/view',
                "icon": 'icon-caidan',
                "mark": "index010001",
                "allow": False,
            },
        ]
    },
    {
        "label": "系统日志",
        "path": '/page/logs',
        "component": 'views/logs/index',
        "icon": 'icon-caidan',
        "mark": "index009",
        "allow": False,
        "children": [
            {
                "label": "系统日志",
                "path": 'page/logs/view',
                "component": 'views/logs/view',
                "icon": 'icon-caidan',
                "mark": "index009001",
                "allow": False,
            },
            {
                # 新增
                "label": "交互日志",
                "path": 'page/statistics/stationlog',
                "component": 'views/statistics/stationlog',
                "icon": 'icon-caidan',
                "mark": "index009002",
                "allow": False,
            }
        ]
    },

    {
        # 新增
        "label": "过程追溯",
        "path": '/page/process',
        "component": 'views/process/index',
        "icon": 'icon-caidan',
        "mark": "index010",
        "allow": False,
        "children": [
            {
                "label": "采集曲线",
                "path": 'page/process/gather',
                "component": 'views/process/gather',
                "icon": 'icon-caidan',
                "mark": "index010001",
                "allow": False,
            },
            {
                "label": "相机图片",
                "path": 'page/process/image',
                "component": 'views/process/image',
                "icon": 'icon-caidan',
                "mark": "index010002",
                "allow": False,
            }
        ]
    },

]
